<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>index.html</h1>
<a th:href="@{/test/hello?username=zxy}">hello</a><br>
<a th:href="@{/test/abc}">abc</a>

<form th:action="@{/test/hello}" method="post">
    <label>
        <input th:type="submit" value="测试method属性">
    </label>
</form>

<a th:href="@{/test/aac/test/ant}">测试ant</a><br>

<a th:href="@{/test/rest/zxy/1}">测试value属性中的占位符</a><br>

<form th:action="@{/param/pojo}" method="post">
    用户名：<input th:type="text" name="username"><br>
    密码：<input th:type="password" name="password"><br>
    <input th:type="submit" value="登录"><br>
</form>
<hr>

<a th:href="@{/test/mav}">ModelAndView</a><br>
<a th:href="@{/test/model}">Model</a><br>
<a th:href="@{/test/modelMap}">ModelMap</a><br>
<a th:href="@{/test/map}">map</a><br>

<a th:href="@{/test/session}">向会话域共享数据</a><br>
<a th:href="@{/test/application}">向应用域共享数据</a><br>

<a th:href="@{/test/view/thymeleaf}">测试SpringMVC的视图Thymeleaf</a><br>
<a th:href="@{/test/view/forward}">测试SpringMVC的视图InternalResourceView</a><br>
<a th:href="@{/test/view/redirect}">测试SpringMVC的视图RedirectView</a><br>
</body>
</html>